﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConceptionLogiciel_Devoir1
{
    class Location
    {
        private int idLocation;
        private DateTime dateDebut;
        private DateTime dateFin;
        private double frais;

        // Constructor
        // -------------------------------------------------------------------------------
        public Location(int _idLocation, DateTime _dateDebut, DateTime _dateFin, double _frais)
        {
            this.idLocation = _idLocation;
            this.dateDebut = _dateDebut;
            this.dateFin = _dateFin;
            this.frais = _frais;
        }

        // Getters && setters
        // -------------------------------------------------------------------------------
        public int IdLocation
        {
            get { return this.idLocation; }
        }

        public DateTime DateDebut
        {
            get { return dateDebut; }
            set { this.dateDebut = value; }
        }

        public DateTime DateFin
        {
            get { return dateFin; }
            set { this.dateFin = value; }
        }

        public double Frais
        {
            get { return frais; }
            set { this.frais = value; }
        }

        //public Retour Retour
        //{
        //    get { return this.retour; }
        //    set { this.retour = value; }
        //}

    }  // End class Location
}  // End namespace devoir3_conception_location
